import { getRequest } from '@/utils/http/request'

const request = getRequest()

export const getList = (params: Object) => {
    return request.get('/api/sys_file/page', { params })
}
// 通过id删除图片
export const deleteById = (id: number) => {
    return request.delete('/api/sys_file/delete/' + id)
}
